//
//  RoadsideAssistanceMerchandiseCell.h
//  JxCarios
//
//  Created by xcq on 15/2/1.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RoadsideAssistanceDayCell.h"
#import "RoadsideAssistanceNightTableCell.h"
#import "RextExtends.h"

@class RoadsideAssistanceMerchandiseCell;
@protocol RoadSideCheckAction <NSObject>
- (void)checkRoadSideCallBack:(UITableViewCell *)cell andSeleted:(BOOL)seleted;
@end

@interface RoadsideAssistanceMerchandiseCell : UITableViewCell <UITableViewDataSource,UITableViewDelegate,checkActionDelegate,UIScrollViewDelegate>
@property (weak, nonatomic) IBOutlet UIButton *baitianBtn;
@property (weak, nonatomic) IBOutlet UIButton *wanshangBtn;

@property (assign ,nonatomic) CGFloat height;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
@property (assign ,nonatomic) CGRect mainRect;
@property (weak, nonatomic) id<RoadSideCheckAction> delegate;
@property (assign , nonatomic) NSInteger page;
@property (weak, nonatomic) IBOutlet UILabel *roadsideLabel;  //路救时间(白天路救还是晚上路救)
@property (weak, nonatomic) IBOutlet UILabel *roadsideTime; // 路救时间段

//第二页,不能选择的服务页
@property (weak, nonatomic) IBOutlet UIView *secondView;
@property (weak, nonatomic) IBOutlet UITableView *secendTableView;
@property (weak, nonatomic) IBOutlet UIView *secondBackView;
@property (strong, nonatomic) NSDictionary *secondDic;

//第一页,可以选择的服务页
@property (weak, nonatomic) IBOutlet UIView *firstView;
@property (weak, nonatomic) IBOutlet UITableView *firstTableView;
@property (weak, nonatomic) IBOutlet UIView *firstBackView;
@property (strong, nonatomic) NSDictionary *firstDic;
- (void)firstBlock;
- (void)secendBlock;
@end
